package br.com.locautowebbd.locatario;

import br.com.locautowebbd.util.RepositorioException;


public interface RepositorioLocatarios {

	public abstract boolean existe(int codigo) throws RepositorioException;

	public abstract void inserir(Locatario novoLocatario)
			throws LocatarioExistenteException, RepositorioException;

	public abstract void atualizar(Locatario locatario)
			throws LocatarioInexistenteException, RepositorioException;

	public abstract Locatario procurar(int codigo)
			throws LocatarioInexistenteException, RepositorioException;

	public abstract void remover(int codigo) throws LocatarioInexistenteException,
			RepositorioException;
}